<%@ page language="java" contentType="text/html; charset=UTF-8"
	isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
	<div class="nav">
		<ul class="cc">
			<li><a href='<yjd:url url="/admin/list"/>'>管理员列表</a></li>
			<li class="current"><a href='<yjd:url url="/adminrole/list"/>'>角色组权限</a></li>
		</ul>
	</div>
	<div class="mb10">
		<a href='<yjd:url url="/adminrole/toadd"/>' class="btn"><span class="add"></span>添加角色组</a>
	</div>
	<div class="table_list">
		<table width="100%">
			<thead>
				<tr>
					<td width="50">id</td>
					<td>角色组名称</td>
					<td>操作</td>
				</tr>
			</thead>
			<tbody id="J_word_list">
				<c:forEach items="${list }" var="item">
				<tr>
					<td>${item.id }</td>
					<td>${item.name }</td>
					<td><a href='<yjd:url url="/adminrole/toedit/${item.id }"/>' class="btn mr10">设置</a>
						<a href='<yjd:url url="/adminrole/del/${item.id }"/>' class="btn btn_orange J_ajax_del"
						data-msg="确定删除该角色组？" id="J_ajax_del_${item.id }">删除</a></td>
				</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
</div>
